﻿using System;
using System.Collections.Generic;
using System.Text;

namespace RemoteBank.Entities
{
    class Account
    {
        public Account()
        { 
            
        }
        public Account(int accountid, int userid, string accountname, int type, double balace, int moneytype)
        {
            this.accountid = accountid;
            this.userid = userid;
            this.accountname = accountname;
            this.type = type;
            this.balance = balance;
            this.moneytype = moneytype;
        }
        int accountid;

        public int Accountid
        {
            get { return accountid; }
            set { accountid = value; }
        }
        int userid;

        public int Userid
        {
            get { return userid; }
            set { userid = value; }
        }
        string accountname;

        public string Accountname
        {
            get { return accountname; }
            set { accountname = value; }
        }
        int type;

        public int Type
        {
            get { return type; }
            set { type = value; }
        }
        double balance;

        public double Balance
        {
            get { return balance; }
            set { balance = value; }
        }
        int moneytype;

        public int Moneytype
        {
            get { return moneytype; }
            set { moneytype = value; }
        }

    }
}
